<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>企业资质审核</title>
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <meta http-equiv="Expires" CONTENT="0">
    <meta http-equiv="Cache-Control" content="no-siteapp,no-transform,no-store, no-cache, must-revalidate">
    <meta http-equiv="Pragma" content="no-cache">
    <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon"/>
    <link rel="stylesheet" href="/static/css/font.css">
    <link rel="stylesheet" href="/static/css/weadmin.css">
    <script type="text/javascript" src="/lib/layui/layui.js" charset="utf-8"></script>
    <link rel="stylesheet" href="/static/css/buildUnit/common.css">
    <style>
        body {
            height: auto;
        }

        .content {
            padding: 20px;
        }

        .layui-container {
            padding-top: 20px;
            width: auto;;
        }

        /*单元格备注样式*/
        .layui-table td.tdBz {
            text-align: left;
            padding-left: 0;
            border-left: none;
            color: #aaa;
        }

        .padNone .layui-form-select .layui-input {
            padding-right: 0;
        }

        .hide {
            display: none;
        }
    </style>
</head>
<body>
<div class="layui-container">
    <form id="form" class="layui-form layui-form-pane" action="" lay-filter="form">
        <!--个人信息-->
        <div class="layui-collapse">
            <div class="layui-colla-item">
                <h2 class="layui-colla-title">个人信息</h2>
                <div class="layui-colla-content layui-show">
                    <table class="layui-table v-table">
                        <tbody>
                        <tr class="hide">
                            <td width="24%"></td>
                            <td width="13%"></td>
                            <td width="13%"></td>
                            <td width="24%"></td>
                            <td width="13%"></td>
                            <td width="13%"></td>
                        </tr>
                        <tr>
                            <td class="th8">人员姓名</td>
                            <td colspan="2">
                                <input type="text" name="realName" class="layui-input layui-disabled" disabled>
                            </td>
                            <td class="th8">性别</td>
                            <td colspan="2">
                                <select name="gender" id="gender" class="layui-disabled" disabled>
                                    <option value="">请选择</option>
                                </select>
                            </td>
                        </tr>
                        <tr>
                            <td class="th8">身份证号</td>
                            <td colspan="2">
                                <input type="text" name="userCard" class="layui-input layui-disabled" disabled>
                            </td>
                            <td class="th8">民族</td>
                            <td colspan="2">
                                <select name="nation" id="nation" class="formData layui-disabled" disabled
                                        lay-verify="isEmpty">
                                    <option value="">请选择</option>
                                </select>
                            </td>
                        </tr>
                        <tr>
                            <td class="th8">出生日期</td>
                            <td colspan="2">
                                <input type="text" name="birthDate" class="layui-input layui-disabled" disabled>
                            </td>
                            <td class="th8">手机号码</td>
                            <td colspan="2">
                                <input type="text" name="contact" class="layui-input layui-disabled" disabled>
                            </td>
                        </tr>
                        <tr>
                            <td class="th8">电子邮箱</td>
                            <td colspan="2">
                                <input type="text" name="email" class="layui-input layui-disabled" disabled>
                            </td>
                            <td class="th8">目前所在企业</td>
                            <td colspan="2">
                                <input type="text" name="orgName" class="layui-input layui-disabled" disabled>
                            </td>
                        </tr>
                        <tr>
                            <td class="th8">担任职务</td>
                            <td colspan="2">
                                <input type="text" name="seal" class="layui-input layui-disabled" disabled>
                            </td>

                        </tr>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </form>
</div>
<script src="../../../static/js/main.js"></script>
<script type="text/javascript">
    var $;
    layui.use(['jquery', 'element', 'form', 'configure', 'configureCom', 'bluebird'], function () {
        var element = layui.element;
        var form = layui.form;
        $ = layui.jquery;
        var configure = layui.configure;
        var configureCom = layui.configureCom;
        var sessionFun = layui.sessionFun;//存储session
        var matchDict = layui.matchDict;
        var listData = sessionFun.get(configure.SESSION_ZIZHI_LIST_DATA);//资质列表当前项
        console.log(listData);
        listData.aptitudeTypeName = matchDict.name(listData.aptitudeType, configure.COMPANY_TYPE_CODE);//转换资质类型
        listData.seal = matchDict.name(listData.seal, configure.DUTY_TYPE_CODE);//担任职务
        configureCom.selectDataFun(configure.SEX, listData.gender, '#gender');//性别
        configureCom.selectDataFun(configure.NATION_CODE, listData.nation, '#nation');//民族
        form.val('form', listData);
    });

</script>
</body>
</html>

